//
// Created by guasen on 2023/4/15.
//
#include "queue"
#include "vector"
#include "iostream"
using namespace std;
int main(){
    priority_queue<int,vector<int>,greater<int>> minQueue;
    minQueue.push(5);
    minQueue.push(10);
    minQueue.push(7);
    minQueue.push(2);
    cout << minQueue.top();
    minQueue.pop();
    cout << minQueue.top();
}
